package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 轮播图实体类
 *
 * @author kingk
 */
@Data
@TableName("gdiu_advertise")
@ApiModel(value = "Advertise对象", description = "轮播图")
public class Advertise implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 广告ID
	 */
	@ApiModelProperty(value = "广告ID")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 广告标题
	 */
	@ApiModelProperty(value = "广告标题")
	private String advtitle;
	/**
	 * 本地存储全路径
	 */
	@ApiModelProperty(value = "本地存储全路径")
	private String advurl;

	private String forward;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date ctime;

}
